package reflex;

public class Animal {

    private String name;
    private int age;
    private short sex;

    public void eat(){
        System.out.println("animal eat");
    }

    public String sleep(int secs){
        System.out.println("animal sleep" + secs);
        return "ok";
    }

}
